package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.FocusUser;
import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface VideoApi {
    void save(Video video);

    List<Video> getByVids(List<Long> vids, Integer page, Integer pagesize);

    List<Video> queryVideoList(Integer page, Integer pagesize);

    void saveFollowUser(FocusUser focusUser);

    Boolean exit(Long userId, Long followUserId);

    void deleteFollowUser(Long userId, Long followUserId);


    Video getById(String videoId);

    void updateLike(String userId, int i);

    PageResult getByUserId(Integer page, Integer pagesize, Long uid);
}
